home *** CD-ROM | disk | FTP | other *** search
- Path: proffa.cc.tut.fi!l152268
- From: l152268@proffa.cc.tut.fi (Lempi{inen Jarkko)
- Newsgroups: comp.lang.c++,comp.programming
- Subject: Re: Why are 32 bit better than 16 bit pgms?
- Followup-To: comp.lang.c++,comp.programming
- Date: 24 Jan 1996 22:30:05 GMT
- Organization: Tampere University of Technology, Computing Centre
- Distribution: world
- Message-ID: <4e6btd$o5r@cc.tut.fi>
- References: <30FBFFE6.1FEB@netcom.com> <4dkshb$l3h@newserv.ksu.ksu.edu> <4dmecj$s66@maureen.teleport.com>
- NNTP-Posting-Host: proffa.cc.tut.fi
- X-Newsreader: TIN [version 1.2 PL2]
-
- Jeff Grossman (grossman@teleport.com) wrote:
- : ferris@ksu.ksu.edu (ferris) wrote:
- : >In article <30FBFFE6.1FEB@netcom.com>, vain@netcom.com says...
- : >>
- : >>I have a simple questions:
- : >>
- : >> What's are 32 bit pgms better than 16 bit programs?
- : >>
- : >> Thanks
- : >
- : >Programs that use 32 bit proccesses go faster than using 16 bit because
- : >the cpu takes 32 bits in one whack instead of 16 bits. Wouldn't you be
- : >able to finish your homework faster if you could do 5 problems all at once
- : >instead of one.
- : >
-
- : Performance gains from going to 32-bits sometimes can be elusive (but only
- : sometimes). And, your code may grow in size, depending on the cpu type (e.g.,
- : the x86).
-
- the size of code is irrelevant, because what defines the size of the code
- is mostly the data. and if 32-bit code has been done in pmode (where all
- programs are heading at), the code is ofcoz faster than 16-bit code and
- the size of the 32-bit code also decreases bec. no mode change swithing
- byte is required for each 32-bit command (16-bits commands instead).
-
- : OTOH, 32-bit code (for Intel arch) is simpler than 16-bit and therefore
- : quicker and easier to implement, which is valuable.
-
- : But probably the strongest motivation for going to 32-bits is that most
- : people think it is "cool" and they are willing to pay more money for
- : someone who can write 32-bit code (even though it is easier!).
-
- yeah, really cool, like i'm running at the streets that i can code 32-bits
- code (= maybe bigger motivation is that then you can access to memory above
- 1MB easily and do faster code..
-
- : This, of course, is a deep secret among us developers, so don't tell anyone, OK?
-
- ok
-
- : Jeff
-
- - Altair -
-